# 作者:何恺
# 2025年02月18日14时58分41秒
# 2557170485@qq.com

num_list = [i for i in range(100)]
#print(num_list)
a = [j for i in range(5) for j in range(i)]
print(a)
a = [[col*row for col in range(5)] for row in range(5)]
print(a)
a = [x for x in range(10) if x%2==0]  # 筛选偶数
print(a)
a =[x if x%2==0 else x**2 for x in range(10)]
print(a)

c = [0]*100  # 初始100个0
print(c)

a=[0]
b=[1]
print(a+b)

